function likes(names) {
    let template = [
        'no one likes this',
        '{name} and {name} like this',
        '{name}, {name} and {name} like this',
        '{name}, {name} and {num} others like this'
    ]
    return template[names.length>4?4:names.length].replace(//)
}